<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <h1></h1>
  <script src="utiles.js"></script>
  <script>
    var h1 = document.querySelector('h1')
    h1.innerText = dateFormat('2021-12-18 16:38:30')
    console.log(bowser());
    console.log('--------------------');
    console.log(isMobile());
    console.log('--------------------');
    if (isWeiXin()) {
      console.log(" 是来自微信内置浏览器")
    } else {
      console.log("不是来自微信内置浏览器")
    }
  </script>
</body>

</html>